index.js working but not tested for multiple sequences