The Texas criminal justice system has been a default mental health services provider for many Texans, but courts don’t have enough resources for the task, according to the state’s two high courts.

That’s one problem that the Texas Supreme Court and Court of Criminal Appeals aim to solve by joining together to create the Judicial Commission on Mental Health.