improve CC APIs