not really a statemachine