adding value mapping methods to vectors