Edited index.js with staging edits