Simple illustration of a mapping function