How to index into nested vectors

How do i index into nested vectors? because when i tried:

    ```
    match layers[1[2]]
    ```

I got an error from the terminal: cannot index into a value of type {integer}

Try layers[1][2]

OK it worked, Thanks for the help!