Added stop time and execution time. Modified an error message.