added comments to contractdsl.rb