doc for each_of