rebuild the cbs code