switching to branch earlier