added in console .log to the prompt