coded for free flow new sampling strategy