constructor parameter by reference