Added pseudocode required for class