added console.log print out