cosmetic changes to sampling.jl