prepare to export