Added timestamps to see how long it takes to run.