remove routing function