changed rep of average