how to define injector