format routes