Implemented rate limiting