added printHi function