Infinite State-Machine