Shaping and controlling foreign policy