updated the service initializer