changing ser.read... to com.read...