Is this is full source code?
Quite clearly it isn't, which is why I asked to see all the code.
Tarce the values
?