adding elapsed_time