added the ability to add a class to the label