make sure App defined?