change the way to pass the parameters
change the way to pass the parameters(update the index.js)