rename and psuedocode