added meanMode