declare App properly