fixing example flows