1.What had he done when Jim called him?
2.He had showed us the picture before he showed us around the house.