How can we counteract the effects of aging on cognitive function?