other strategy for serialport
got console working, not the ideal way but it's something