Added timer and fixed threshold.
Added timer and fixed threshold.