addded curses interface