A multi-channel R-matrix code has been developed and used to analyse two key reactions in the CNO cycle. The N(p,γ)O reaction determines the rate of operation of the CN cycle and is critical in determining the age of globular clusters, which give estimates for the age of the universe. The low energy S-factors determined are in good agreement with recent estimates. A preliminary analysis of the ...