CB rewrite