Upon entering a correctional facility, inmates undergo an intake and classification process to assess their needs and risks in order to assign them an appropriate security level and housing unit. The classification system has evolved from an initial focus on medical treatment to today's emphasis on management and control. Inmates are evaluated and placed into categories based on factors like mental health, security threat level, and programming requirements. Effective rehabilitation programs include psychological therapies, behavioral modification, and substance abuse treatment both within correctional facilities and after an inmate's release. The overall goal of classification is to help address inmates' needs and risks in a way that can reduce recidivism.