provide getDatasource() method