//execute the action associated with this transition
//execute the action associated with this transition
(this->*(actionPerformedFunctionMap[previousState][action]))();//WARNING BUG //WARNING SEGFAULT //TODO remove this node, it was not a good idea, it is not stable