prior to branch