running with console.logs