Right now I don't have access to the rest of the code, but the PDF I am making is kind of complex, I will need the code the way I has in my question, unless of course if its not possible to pass those values as references. Can I get back to you on that?