started implementing debouncing