Optimizing Execute method.