use msec and the time window according to the spec
use msec and the time window according to the spec