Jas's hacking to try to eliminate flicker