only print line if classication exists