add throttle and debounce note