use mean()
Changes based on review