pass an argument by reference instead of by value