added stopwatch for time taken for execution