Added new features into Tag class