add cb to server init