What code? What language are you using? We need some more information than just "show me code".

chem