add dataprovider for whole class