improvements to tags