VariantBuilder (for initial review)

What is the purpose of this function?