error checking for data services