created data services functions