add psuedocode