Fills in 'throttle' function