added time recording