added a new method in DataHolder class, getCurrentTags().