We can't read your mind so don't post questions that would require us to do so. ALWAYS provide a FULL and CLEAR explanation of the problem. Describe what you're trying to achieve, how you're trying to achieve it, what happens when you try and how that differs from your expectations. ALL code works from the perspective that it does exactly what it does. If you're expecting it to do something other than what it does then that's not the code's fault. If you refuse to tell us what you are trying to achieve then we can't tell you why the code you wrote doesn't do it.