CRP-algorithm