adjusts flashing behavior