worked on path parsing