married by contract