Reading data from serial port works