adds tag names method