implement ImmediateBranchCommand