adapted to new dataset resource