s/variant/mode/g