correctional rehabilitation: providing penal custody or probation or parole for convicted offenders
entity: that which is perceived or known or inferred to have its own distinct existence (living or nonliving)
detour: a roundabout road (especially one that is used temporarily while a main route is blocked)