slightly less smooth but fixed the flashing line