add mean (tested)