consolidated declaration and initialization of parameters