Example: added transition exception to avoid going from idle to itself.