added some uart stuff, not tested though