injecting objects