got rid of app2 and added a console log