The 3 tasks your brain must achieve