monitoring and aggregating statistics