commit switch