getFreeVariables