modified console output to track time elapsed