Changed the threshold for red detection