first pass routing for tasks