example use of value mapping