define the app var in the code to be used