included hook in index.js