$s - Values from D at both ends are added to the total - if D does not exist at both ends in any given code, whichever D is present is added regardless (the way the code currently works) $s1 - Only the value from D at the start of the code is added $s2 - Only the value from D at the end of the code is added