generator implemented for bulk_loader