removed unnecessary pretest