Add function to retrieve tag list