This study is a randomized controlled study to compare if a a non-invasive neurally adjusted ventilatory assist (NIV-NAVA) is better than nasal continuous positive airway pressure (N-CPAP) after extubation in infants' < 30 weeks of gestation.