basic function throttle.