Added a timer so we can see the delay of the total code