In strict accordance with the rules, especially of card games; in the proper or expected manner.
Functioning particularly effectively; achieving something substantial.
With the updated software, I was really cooking with gas. I got the project done in half the time.
Used other than figuratively or idiomatically: see cook, with, gas.