added grid to index