Added debounce & throttle methods
Updated method definition
Added throttle method