add snip console.log