What prevents an agreement from being a valid contract?