You do `this._written.indexOf(contentView.content)` twice in two lines here.