refactoring del service