added time print statement to output