add annotations
set debug true default
rename _cbs to _hooks