data service encapsolution