added slice sampling