stop‑bang implementation