removed manual injector to get rid of its boilerplate code