Introduce concept of a mapping function (mapFunc).