removed debug output in elapsed_time()