removed call-time pass-by-reference