better path manipulation.