cleanup chapter8