edited the main_app file