uart layer now functional