Improved gateway