extending timeit, import sprintf