corrected index of the open closed principle