passing injector as a param rathor than a field