prelimenary cc implemented