systems and methods for operating an engine with deactivating valves are presented . in one example , a groove in a camshaft controls oil flow to a valve operator that selectively activates and deactivates a poppet valve of a cylinder . the groove moves with the camshaft so that oil delivery to the valve operator is timed properly to deactivate and reactivate the cylinder .