Finished implementing running time.