working on paths collisions