adding the avg calulator