added alert of the average