added working grid based on json elements