minor changes necessary for grading the second test