How to use "excess" in a sentence

Sentences

The Pyramid had been built at a cost in excess of four hundred million dollars, and the owners had made certain that every last dime showed

Computer-controlled designs ebbed and flowed, a riotous and mad - but curiously beautiful - excess of energy consumption.