implement dataservice on client part 1