first commit for ncurses interface