add demo for curses