reintroduce counter, killed by error