Added rate limiting to messages
Renamned the callback function