create routes dynamically