the selection process had begun four months ago when the president made plans to visit the middle east to see one last time if there was another way to stop terrorism , even in light of the worsening situations in pakistan and afghanistan .