another series of routing porting to the new api