first iteration of grid view fully working