what output did you get and what output are you supposed to get? could you post the code that gives you the wrong output?