db: store the value of "x" when you call frob(&x);