changing dependency injection