Replace pseudocode I forgot was pseudocode with realcode