wrote app demonstration file and modified output