goo defs to unitdefs