changed tagName into tag as requested