reg.go New() complete, untested