re-added message counter