Function makeLimiter