added averages and other useful statistics