self.variables -> self.variables.keys()