Hi Mohammad.
I'm afraid I don't know what you are asking about in the first part of your post. As to the second part, it is true that in some situations simple past can be used instead of past perfect. What you need in your example is not "went out" but "was out" - meaning he had left before you arrived.




