streak calculation and event broadcast