refactors VariableReferenceQuestion