exporting an instance