Use max instead of average