got rid of app variable