You may have better luck getting an answer if you post enough code that it can be executed, and explain what you want to see and what you see instead and what information you’re missing to fix that
Imagine you’re grabbing someone on the street to get help. You’ve got some explaining to do before you get any, and if it’s too inconvenient they’ll still walk away even if they understand what is going on.