change class name and add hook action
add some test