How does the sentence end?

Jerry was making pancakes for breakfast but realized he had eggs but he didn’t have milk. It was necessary to go to the store for the
milk .