inital path parsing