replaces links with routes, ends section 5.3.3