# Creating Nested Structures

When the insertion point is in an empty element, pressing the ENTER key replaces that element by another empty element at the next higher level in the document structure. This feature allows you to create complex, nested structures very quickly.

As an example, consider the following structure:

- The first item in the list

  A paragraph in the first item

- The second item in the list.
  - First item in the nested list.
  - Second item in the nested list.
- Last item in the list

- To create the above structure:

1. Click the Bullet List button to create the first item in the list.

2. Type in the list item text, and press the ENTER key once. Amaya creates a new paragraph within the list item.

3. Type the paragraph text, and press the ENTER key twice. The first ENTER creates another paragraph element, but the second ENTER removes that paragraph and creates a second bullet list item in the original list.

4. Type the second list item.

5. Click the Bullet List button to create a new list. The new list is automatically nested within the first list.

6. Type the text for the first item in the new list, and press the ENTER key twice to create a new item in the nested list.

7. Type the text for the second list item, and press the ENTER key four times to create a new list item in the original list.

8. Type the final list item, and then press the ENTER key three times to close the original list and start a new paragraph.

The ENTER key works in the same way when the insertion point is at the beginning of an element, but it creates new elements before the current element. For example, to add a list item between the first two items in the above structure, place the cursor at the beginning of the second list item, and press the ENTER key twice.

Note: This use of the ENTER key does not apply only to lists and paragraphs, but to all elements. For example, it is very helpful for creating tables.