Understanding, Creating, and Implementing Contracts