Refactored throttling functions in their own 'module'