add functionality to switch branches