added cb to init