An engine control unit having a program stored therein for controlling an engine having a turbocharger, such turbocharger having a compressor and a turbine, such turbine having an inlet flow control device with at least two discrete positions, one of such positions being a relatively open position and another one of the positions being a relatively closed position, such engine having exhaust gas recirculation (EGR), such program causing the position of the inlet flow control device to move between the at least two discrete positions, one of such at least two discrete positions providing a desired flow of air through the turbocharger to an intake of the engine and for modulating such inlet flow control device between such at least two discrete positions over time to provide, over time, a desired pressure at an input of the EGR to enable a desired flow of exhaust gases from the exhaust of the engine through the EGR back to the intake of the engine.