using serial monitor to read data