A system to control valves of an internal combustion engine. Electromechanical
valves are controlled in a manner to reduce hydrocarbon emissions of an internal
combustion engine. Further, the system may contain both mechanical and electromechanical
valves to reduce cost and increase performance.