better counter for demo