added cbwrapper