before switch brach