started implementing grid