Performance and Payment in Contracts