Good example to pass variables by reference