What shapes Obama’s foreign policy