Adding method to dataProvider