before sw to new branch