Title: Buying a new hammer. Sentence 1: I was trying to hang a picture the other day. Sentence 2: I realized that I didn't have a hammer to hang it with. Sentence 3: So I went to the hardware store. Sentence 4: While I was there I bought a hammer.
I went back to my house and hung the picture on the wall.