The primary outcome was comparison of arterial PaCO2 postextubation ; secondary outcomes were PaO2 and PaO2/fractional inspired oxygen ( FiO2 ) ratio , rate of treatment failure and need of respiratory support , rate of extubation failure , rate of atelectasis , simply to complications and the length of paediatric cardiac intensive care unit stay .