cb will also set result