Improving the quality of legislation