Three groups were formed , and this number was incorporated in each group : 12 patients were chosen randomly ; the first group of depressed patients benefited from the combination of pharmacotherapy and sessions of cognitive group therapy ; the second group used a combination of pharmacotherapy and sessions of happiness training ; and a third group used only pharmacotherapy .