adding measurement of computation time