added _app structure