changed average to total on panels