use resolution when doing routing