added avg
added avg