change to use def change instead of self.up and self.down