the cooler line nearest the engine is the output and goes to the bottom of the trans cooler and returns at the fitting in the middle of the case from the top fitting on the radiator.