Integrating the court and benefit system