with curses