Half done pseudocode