I Started with this code:
Which does something. You haven't explained what it actually does.
You want it to do something. How that differs from what you actually want isn't at all clear.
Therefore, it's impossible to tell you what to change.
I Started with this code:
Which does something. You haven't explained what it actually does.
You want it to do something. How that differs from what you actually want isn't at all clear.
Therefore, it's impossible to tell you what to change.