added IDL code for ref

Old version to build out from