adding class to tag field