properly spell pseudocode, thanks everyone