if logic on the tagging display