replaced instantiator by injector