added CJC smoothing