Reduced the execution time somewhat