Children in second and fourth grade with a diagnosis of ADHD ( n = @ ) were randomly assigned to neurofeedback ( NF ) ( n = @ ) , cognitive training ( CT ) ( n = @ ) , or control ( n = @ ) conditions .