join branch is part of the switch