added injectTo method