hooks analyze