grid class member function