Map with callback function, WIP