updated to use curses