Variants transformation