cb not defined