more work on loader and exporter