mostly implemented new grid view
supporting changes for new grid view