added console.log print

added console.log print