added note on hooks