send parameters by reference