added ff-based debouncer