SAMPLING_TIME_WINDOW set to 1, so that events are being detected every second, not every 5 seconds