Vent logic