see comments, in index.js and handle/index.js for why the program is failing