added stub_app