When there is an agreement to discharge a contract, which of the following must be in place? (select the best answer.)

a. consensus
b. consideration
c. legality
d. intention
e. all of the above