changed implicit injector to `def`