adding curses example