Pretest C and D done

correct some mistakes in pretest b