the app updated

updated with some commented portion of code