persistant state: almost there