make the throttle and log output better