Added the logic to displays the tags