set mean to sum