Changed indent to 2-space, implemented switchTo()