utils/variant_utils library