modular: replaced injection function with getinjectables