Time measurement added