created ave, fixed lag range, range bug, verified data