add interaction/index.js fn