changes to replace USART with USB