# Not understood counter

Instead of always showing the same `not understood` message, you can create a counter to show different messages, depending on how often the not understood block is triggered. For example, when the bot doesn't understand the user for the first time, it will display the first not understood message:

"Sorry, I didn't get that. Can you please rephrase?"&#x20;

After the user has sent another message and the bot didn't understand a second time, it will display the second not understood message, offering an external way out:

"Sorry, I still don't understand. Perhaps you'd like to talk to my colleague instead?"

Or "Sorry, I still don't understand. Perhaps you'd like to email us instead?"

This counter set-up creates a better user experience and makes the bot appear much smarter. Ready to get started? Let's go! 👏

## 1. Change the block type

Step 1: Click on the 'not understood' Message block and in the list under 'Type', select 'Go To'&#x20;

![](https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LLTwFwbOqJj4dDhg8Ju%2F-MlGS7YFbudxeurSOFrh%2F-MlGS9wzyTmsqJzeLUCl%2Fimage.png?alt=media\&token=8b5efaa6-41c7-4610-b4e2-466e3b2367d8)

## 2. Set the first condition in the Condition block

For the next step, we are going to set the counter conditions so the bot knows how often this block was triggered already.

For the first condition, we want to check if the 'not understood message' block was triggered already once. To do so, copy and paste the variable ***not\_understood\_counter*** in the left field. Click on 'create' to create the variable.&#x20;

Then in the middle field, select `equals` in the drop down menu.&#x20;

In the field on the right, we'll put **1** – This tells the bot that the first not understood block was displayed already and that it's time to display the second not understood block.

![](https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FxPsYORiYKWFPXjPyQFRe%2Fimage.png?alt=media\&token=7e847b6f-4ddc-4c21-a2ff-163f271af85a)

## 3. Set the final condition in the Condition block

For the second and final condition, we're creating the actual counter.

Under Else, type ***Not understood x 1*** and click 'create' to create the variable.&#x20;

Next, click `+ Add Variable` to add a variable and value. In the middle field, add the variable ***not\_understood\_counter***. In the field on the right, add the [increment value](https://docs.chatlayer.ai/bot-answers/settings/secure-variables-gdpr#incrementing-variable-counter)  ***{not\_understood\_counter|increment}***

![](https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FuQLZaFOQRPVG24p6QpH4%2Fimage.png?alt=media\&token=127c1e09-c09a-4200-a26d-188b1d5a6174)

Save your set-up by clicking the `Save` button on the bottom right.

The entire Condition block should look like this:

![](https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2F1fXTycjoUmRXunSwj3P0%2Fimage.png?alt=media\&token=0e47dc12-2ccd-4d18-9d46-7440fd38c158)

## 4. Write the bot messages

After saving your Condition block and closing it, the flow should look like this:

<img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FFJ1KJDsPNiFMGH1QJk0q%2Fimage.png?alt=media&#x26;token=68ed500e-4a37-4505-bd1f-addf4cf28df7" alt="" data-size="original">

Now it's time to write the copy for both blocks. Here's some inspiration for the first message that will be displayed – the 'Not understood x 1' block:

* Sorry, I didn't get that. Can you please rephrase?
* Hmm, I can't understand. Can you use different words? Perhaps I'll get it then!
* I didn't understand, please try once more

For the second and final message, the 'Not understood x 2' block, you can write something like this:

* Sorry, I still can't understand. Perhaps you'd like to talk to my human colleague instead?
* Sorry, I can't seem to understand. Would you like to call us instead?&#x20;
* Sorry, I can't seem to understand. Perhaps it's better if you email us your question

That's it, all done! You just created a user-friendly way of telling the user the bot didn't understand 👏
