add value snippet