Short term

Flicker algorithm

Long term