added input throttling