debugging with console.logs