worked on debouncing, came up with solution, needs to implement it