put params back into constructor so that DI config can see them