small constructor change