all code generated is hooked