forgot to change diveDistance to taskDepth in the inner machine constructor
removed reference to task from inner state machine, instead added failure all in task update
forgot to change inner state machine constructor to not accept task state