improved message receiving system (uart)