Fixed some adding

Adds the elements in the list.