Cognition and the middle-aged brain door