rename 'STATE' as 'state' to communicate its temporary nature.