I did go through it line by line, as soon as I get to the line that calls the procedure, the program ends.
Also, DataItems is a class with 2 integer members.