minor edit to unit 11 R file