changed prompt to alert
re-added console.log
edited string