controller reads from serial.