changed initialization of DataProvider