Removed serialport dependency