improved counter, it does not run secretly.