- aadded hook.js