branch with pause