changes to customerReg, incomplete but working