adding self.set_cmd