converted injector to an object