working on a path sampler