add elapsedDays and test.