se implementa buildWithMean