Reforming the justice system