Added second parameter for high and low threshold

High threshold set to >