add some hook