Community-based treatment of sex offenders