working on not flickering2