Executive functions are used to perform arithmetic calculations, reasoning, and planning, which stem from the prefrontal cortex. Visual-spatial functions are predominantly attributed to the right parietal lobe. There is abundant neurophysiological evidence that the prefrontal cortex plays an important role in visual working memory.