addition of mocked gatekeeper