add mapping function (not full functional)