tags are ignored in this line because we check them separately (tags are special since they are arrays) right below.