made hooks more verbose