what is an agreement in which both sides give up something