result formatting functions should iterate over .each() result