trying to get exporting right