change instance variable self.method