adding log for global stats