also add the throttle function to the core module