Added timeit function