added stream-diff