make example deterministic