Added time in the output method.