document grains