implemented Cell.cs