add cb to samples