Changed to have lag average and lag max