changed ncurses.h to curses.h import