Populating the grid