It is an established principle that a court of substance has the discretionary power to interpret the clauses of an agreement, provided that such interpretation considers the agreement as a whole in understanding the parties intent.