added serialPrint() function to SGManager