better code to read serial.