renamed autowire to inject