added selector tags in tagname creation