added ability to add custom classes onto labels