message counter added