added sum to the list