IDL code example