add code generator to utilities