Why are they dividing by 2 to find average?