added uart decoder