> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sample 3. Step 17: Detecting the name of the Unit Price column with a kwUnitPrice element

> Pinpoint the Unit Price column name with a kwUnitPrice Static Text element that searches to the right of the detected Quantity column in the FlexiLayout.

To describe the element that will be used to detect the keywords in the Unit Price column name, take advantage of the fact that the Unit Price column is always located to the right of the Quantity column.

To create the kwUnitPrice element:

1. In the **TableHeader** element, create an element of type [Static Text](/flexi-capture/fls/template/static-text) and name it **kwUnitPrice**.
2. Click the Static Text tab.
3. In the Search text field, enter the text to find: “**UnitPrice**”.
4. Click the Advanced tab.
5. Since the name of the **Unit Price** column is located to the right of the name of the **Quantity** column, set the following [additional search constraint](/flexi-capture/fls/template/advanced-constraints) in the Advanced pre-search relations field: If the **kwQuantity** element has been detected, look for the **kwUnitPrice** element to the right of it. In the [FlexiLayout language](/flexi-capture/fls/code/general-code):\
   `If Not (TableHeader.kwQuantity.IsNull) Then`\
   `RightOf: TableHeader.kwQuantity, 0 * dot;`
6. Try matching the FlexiLayout with the test images and make sure that the program successfully detects the element on all the images.
