Add sufficient code for SwitchTo(), will need to test/ammend as needed