However, this has not always solved the problem because: 1) the system has not been able to adequately identify mental illness in offenders; 2) judges and criminal justice system personnel often require more specialized knowledge as to how factors such as substance abuse, criminal behavior, and mental illness interplay; 3) many mental health providers have inadequate understanding of the criminal