y threshold caught nothing exception corrected (slightly)