Tell us your errors, and post your new code. What is it you want it to do, anyway?