add dependencies
simplify service