added two gateways