You need to provide more information on your equipment. What cooler are you using for a mash-tun?
Most people add grains to the water, but keep in mind that you need to ensure your grain is at room temperature, if it has been stored in a cool place (garage/refrigerator), it will affect the mash temp significantly.