branching to include sentinels