Renaming avg to mean
Renaming avg to mean