Eight schools were purposively selected from two communities of different socioeconomic status ( SES ) in Beirut and , within each school type , were matched on SES , religious sect profile , and then randomly assigned to either the intervention or control group .