Notes and guidance: Pseudo-code