added equality implementation for textcell