new link-for and path-for behaviour