adding exceptions to the Kahan test