adding ability to control quality, adding more descriptive labels to html