arranging paths