first public implementation of the advanced hook subsystem