an appropriate range meaning whether the piston is moving sufficiently fast to cause a high intake flow when intake valve is opened if not wait until a positive result in block 82 from which control passes to block 84 the valve closing magnet is de energized allowing intake valve 20 to open control passes to block 86 in which it is determined whether the flow of gases through intake valve 20 is appropriate for beginning fuel injection if a negative result in block 86 wait until a positive result from which control passes to block 88 in block 88 the fuel injector is actuated control then passes to block 90 in which it is determined whether intake valve 20 is in an appropriate range to catch intake valve 20 if so control passes to block 92 in which the valve closing electromagnet is actuated to close intake valve 20 in an alternative embodiment decision blocks 82 86 and 90 of fig6 are supplanted by an model of valve dynamics flow through the intake valve piston speed etc that is a model is used to determine at what crank angle the piston speed is appropriate based on current operating conditions to send out a signal to de energize the valve closing electromagnet and similarly for blocks 86 and 90 in an alternative embodiment lookup tables are used in place of a model of the system to determine when to perform the de energization fuel injection and energization the lookup table is a function of one or more of engine speed manifold vacuum pressure desired.