added API rate throttle