caliberated debouncing