before implementing grid view