add requirements to route