added inspect method to grid