add  doc and index.js