Program the loop to stop when 15 seconds pass so that the switch that