made it check consecutive readings for ranges