Improving legal quality: an application report