move state machine since it's core for action animations