refactor service.pp to avoid collision with service resource