Significant interactions between pretreatment cognitive function and treatment were found for cognitive composite ( P = @ ) , immediate recall ( P = @ ) , delayed recall ( P = @ ) , attention ( P = @ ) , visuomotor skills ( P = @ ) , and motor speed and dexterity ( P < @ ) , with the benefits of donepezil greater for those who were more cognitively impaired before study treatment .