now with exporting