Changed name of route-creation function