updated Cell class