Adding a new hook