added UART. Doesn't feel too robust though...