use getter to get the type of the TagList