adults, may only be held for 24 hours or less, while initial case investigation is completed, and other alternatives are arranged. Within the categories of secure detention and secure confinement for juveniles, the overarching name of these facilities is residential programs. Five overarching types of residential programs where a juvenile may be placed while in court custody: The Office of Juvenile Justice and Delinquency Prevention found the five types of residential programs for juveniles to be a broad range, which included detention, corrections, camp, community based, and residential treatment. The reason for the wide variety in placement options of juveniles is that there does not currently exist a uniform definition of residential treatment programs. As a result, this creates a lack of uniformity across states and a large variety of names for secure detention and secure confinement centers for juveniles. Services provided to the youth Many services are supposed to be provided to the youth at both detention centers and confinement facilities. Services vary from facility to facility, but in general the programs and services provided to the youth are geared toward the juvenile's needs. At the core, juvenile facilities function as rehabilitative institutions for youth. Education is seen by many as the primary rehabilitative service that must be provided to detained youth. Highly effective schools within juvenile facilities provide high school curriculum, opportunities for General Equivalency Diploma (GED) preparation, special education services, certified teachers, small student to teacher ratio, connection with families, and vocational training opportunities. Despite state and federal requirements, there are many problems with the educational systems in juvenile detention centers. Many institutions do not provide basic education services, and in others, children only receive a fraction of the state-mandated instructional time, and classes are not based on a coherent curriculum.(Katherine Twomey, The right to Education in Juvenile Detention Under State Constitutions, p. 766). Some facilities do not have designated classrooms, libraries, or even books, and the teachers are often poorly trained, and are not trained in how to deal with special needs of children in detention. (Id. at 767.) Despite these shortcomings, there have been very few consequences to states for violating the requirements of the No Child Left Behind Act, (Id. at 779.); therefore, states do not have much incentive to improve standards to achieve compliance. Mental health There is a long-standing connection found in research between youth who commit crimes and mental health concerns.