optimized export.