note added to psuedocode