added routing switch