adjusts dependency injection