added time measurements