Their immensely complicated nervous system regulates the contractions and flexing necessary for their reactive swimming.