psuedocode up the class