add console.log snippet that was useful when debuggin