Better grabbing of tag names