basic uart functionality (not tested)