added gateway. method implemnentation will follow