Working Solution For Generating Unique routes.