added cell functions