"As he entered, Ashley gave Tom a hug" - I believe this sentence is correct and natural, is it? Now, I often come across statements where you place someone's name further into the sentence. Doesn't it make the sentence a bit confusing? I guess he and Tom could be two different people. In Polish it would be unacceptable and you needed to say "As Tom entered, Ashley gave him a hug". So, does it matter when I mention someone's name?