connecting data source and delegate