to switch to master