initSerial subroutine move to UTILITIES