action main switch changed to self.send