added an example of a named reoute resolve function