curses partialy working.