changing  from console.log to prompts