Neuroscientists have discovered how the brain tries to compensate for its poor performance in tasks that require complicated mental transformations.