Working on path generator