updated notebook with prediction