Please help me understand these sentences better:
He called while I had been sleeping.
Is this correct? And, if it is what, is the difference between that and:
He called me while I was sleeping?
Or:
I was working when he called.
and
I had been working when he called?
Thank you very much!