automatically adjusting gas flow