Why exactly do you need this variable? You can easily distinguish whether you've found something based on `toConcat` value, can't you?