move config to use Variant