adding Hooker class