printCOR function