targetAverage() renamed into targetMean(), more comments