added time measuring