cbc updated for new api