added hookhandler