Pseudocode done.