A controller for an engine, said engine having an intake manifold with a mass air flow sensor generating a mass air flow signal responsive to an amount of air flow in said intake manifold, an exhaust manifold with an oxygen sensor generating an oxygen level signal responsive to an amount of oxygen in exhaust gases in said exhaust manifold, and a fuel pump supplying fuel to a fuel injector, said controller being configured to turn off said fuel pump upon a change of state of an engine control signal, said controller being further configured to calculate a commanded air/fuel ratio responsive to said oxygen level signal, said controller being further configured to calculate a commanded fueling level responsive to said mass air flow signal and said commanded air/fuel ratio, said controller being further configured to control a duty cycle of said fuel injector, after said fuel pump is shut off, to allow said engine to operate cyclically about a predetermined air/fuel ratio.