adapting routes to new interface