implemented latest dependency injector