An oven comprising a housing, a cook cavity located within the housing, wherein the housing includes an opening to the cook cavity and the cook cavity is configured to receive a food item through the opening, an oven door for covering the opening, a heating element configured to heat an air within the cook cavity, an active vent interconnecting the cook cavity and an outside of the housing, and a controller operatively coupled to the active vent and the heating element is disclosed. The controller is configured to perform the steps of (a) turning on the heating element to initiate a cooking cycle, (b) keeping the active vent closed during an initial stage of the cooking cycle, (c) after the initial stage of the cooking cycle, opening the active vent, and (d) keeping the active vent open during at least a portion of a remainder of the cooking cycle.