added filtered exporting