grains working from samplesource