TRIPARTY AGREEMENT