What is the function of the thalamus

Illustration from: Deetjen / Speckmann, Physiologie, 3rd ed.

Media group, Middle part
Entrance: Formatio reticularis, hypothalamus - Exit: Cortex cerebri including cingulate gyrus, amygdala - Function: regulates excitability of the forebrain

Mediodorsal nucleus (DM)
Entrance: Basal ganglia, amygdala, hypothalamus, olfactory brain - Exit: Prefrontal cortex, cingulate gyrus, basal nerve - Function: Emotions, cognitive learning, memory

N. ventralis anterior * (VA )
Entrance: Basal ganglia - Exit: Supplementary motor cortex, cingulate gyrus - Function: Movement planning

N. ventralis lateralis (VL )
Entrance: Cerebellum - Exit: Pre- and primary motor cortex - Function: Movement planning and control

Posterior ventral nerve (VP - L = lateralis, M = medialis)
Entrance: Spinal cord, brain stem - Exit: Parietal Cortex - Function: Touch, leg position

N. lateralis dorsalis*
Entrance: Hippocampus - Exit: Cingulate gyrus, parietal cortex - Function:?

Posterior lateral nerve* (LP)
Entrance: Upper quadrangular, pretectum, occipital lobe - Exit: Posterior parietal cortex - Function: Sensory integration

Pulvinar (Pooh)
Entrance: Upper quadrangular, pretectum, occipital lobe - Exit: Parieto-temporo-occipital association cortex, cingulate gyrus
Function: Sensory integration - eye movement control - language control

Corp. geniculatum laterale
Entrance: Retina - Exit: Primary visual cortex - Function: See

Corp. geniculatum mediale
Entrance: Lower Four Hills - Exit: Primary auditory cortex - Function: Listen