Using an algorithm based on those guidelines , we aimed to compare the proportion of time spent within the SpO2 target range during algorithm-based management of oxygen delivery compared with routine nursing care .