applying the Mean