Sending reference works, but then keeps the value.