Working on path generation