notebook code changes