move cell validation to Cell object