started globalization; somehow hacked makeRecord into polymorphism