what is the difference between each and each_pair?