single loop deterministic added