paths rewrite, part 2