add console.log snippet