app vars out of global scope