Twelve matched pairs of township neighbourhoods were randomized to receive either ( i ) an HIV prevention intervention ( guided by Social Action Theory ) to reduce sexual risk and increase risk reduction communication in social networks , or ( ii ) an attention-matched control intervention that focused on the prevention of relationship violence .