use timeit to time execution