define mapping-function as callback
move comment to the top of it's section