grid view refactored struture