ext-var-gen attempt