previous commit was not working
it is fixed
index.js
addarecords.js