Here's the new setValue function.