implemented the route parameters option