renamed conio cgetc() to getch()