Adding skeleton for_each_result loop.