simplifications in uart