attempt to use mean value (broken)