reduce time interval from 100 to 1ms