add conditional if no tags are present