Some changes in sum and mean functions