Continued pseudocode