fixed timing calculations and printing.