exporting back and forth