Add function does not cycle through as many elements