first take on generating routes