figured out exporting problem