WIP debounce code.