renamed read_serial