removing unused switchTo