- use a bool flag in the variable to save last phase - use `false` by default (corresponds to this flag being cleared)