improve advanced example stop