add setValue method