Pass values by value and reference