added throttle to api calls