add variant_id method