make harvest use dataset class