Mind, brain, and the environment