national average pulls samples from an array