added simple output with ncurses