But in the subsequent studies that Dinges and many other researchers (myself included) have performed, neither naps nor caffeine can salvage more complex functions of the brain, including learning, memory, emotional stability, complex reasoning, or decision-making.