add some code of route configuration