state machine schoud be working and made an extra class for action-client-stm