called 'readline' library in index.js