added initial injector logic