still tweaking app initialization