added older version of CBWrapper