Fixed namespace issues in notebook 4