fixed formatting of psuedocode