NS_Grid class was extracted