How does the sentence end?

While waiting on the cricket field, Brett asked William to go get the bats. He set up the wickets while
William got the bats.