Changed the serial print functions