Fixed typo (avarage -> average)