added flashing pause