added check for each column avg not just each data point