Why set it to zero in the first place then? why not just say if i of elements == null then i of e = 1;