First implementation of RateLimiter