added grid validation