J.W. made new version of get tag name