changed the strategy into ventilator method