added cellPerSide method