Tailoring and negotiating agreements