adding rateLimit callback