add location info to each() callbacks