added interface for export.