Reduced the session-left to 1 to make it easier to check the logic.