plan_route() template