add debounce and makeSerial