updated to use variant example