added sense time in millis