fixed injectiano method