A fair contract