add time measurer