part code, part psuedocode