adds proper injection to router