initialize Params properly in constructor.