added function getch