Add check to fetch grains call