added avg,min,max