code refactoring, services