an example of how to design a route