rm call by reference