making a class called Avaerager