using timeit.default_timer() for timing