Your code? "But it won't work" doesn't tell us anything. What happens? How do you know it (whatever it is) doesn't work.