branch with clear frame v3 method