added backup gateway mapping