Pseudocode flow.