changing hard coded route generator