Threshold to 0.99, added logging