added removed functinoality from norvig example