added computation of elapsed msec