zz models IDL code