Participants in the physical activity group who were 80 years or older ( n = 307 ) and those with poorer baseline physical performance ( n = 328 ) had better changes in executive function composite scores compared with the health education group ( P = .01 for interaction for both comparisons ) .