Added switching levels.