use setter for injector