mapfn implemented.