wrote getVariablesDefinition