new debounce method
trailing spaces, comments