Sorry, judging by the rest of the code, you probably want:

`            addFieldData("threadName", threadName);`

or whatever :)