Cleaned code of CC.