judges give probation to mentally ill people