routes to model