updated dependency injection position