gateway framework.