hooks template