State machine finished except for function calls