At the start of the study, patients underwent a functional MRI (magnetic resonance imaging) brain scan, which was then analysed to see whether the outcome from CBT or medication depended on the state of the brain prior to starting treatment.