add better counter